/* 
    Document    :   style.css 
    Author      :   Manel González 
    Description :   Estil menu 
*/  

#nav, #nav ul{
margin: 0 auto;
list-style-type:none;
list-style-position:outside;
position:relative;
}

#nav a{
display:block;
padding: 5px 10px 5px 10px;
border:1px solid #333;
color:#fff;
text-decoration:none;
font-family: Verdana;
font-size: 12px;
background-color:#333;
height:100%;
}

#nav a:hover{
background-color:#fff;
color:#333;
}

#nav li{
float:left;
position:relative;
margin-top: auto;
}

#nav ul {
position:absolute;
display:none;
width:288px;
top:25px;
}

#nav li ul a{
width:150px;
height:auto;
float:left;
}

#nav ul ul{
top:auto;
}	

#nav li ul ul {
left:288px;
margin:0px 0 0 10px;
}

#nav li:hover ul ul, #nav li:hover ul ul ul, #nav li:hover ul ul ul ul{
display:none;
}
#nav li:hover ul, #nav li li:hover ul, #nav li li li:hover ul, #nav li li li li:hover ul{
display:block;
}